package com.delu.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 会员卡表
 * </p>
 *
 * @author author
 * @since 2021-12-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("storage_vip")
@ApiModel(value="StorageVip对象", description="会员卡表")
public class StorageVip implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "会员卡Id")
    @TableId(value = "storage_vip_id")
    private String storageVipId;

    @ApiModelProperty(value = "会员卡密码")
    @TableField("storage_vip_password")
    private String storageVipPassword;

    @ApiModelProperty(value = "余额")
    @TableField("storage_vip_money")
    private BigDecimal storageVipMoney;

    @ApiModelProperty(value = "用户Id")
    @TableField("user_id")
    private Long userId;

    @ApiModelProperty(value = "状态 0无效 1失效")
    @TableField("storage_vip_status")
    private Integer storageVipStatus;


}
